package model.admin.dao;

import java.util.List;

import model.admin.dto.AdminDto;
import model.member.dto.MemberDto;

import org.apache.ibatis.session.SqlSession;

import common.SearchDto;

public class AdminDaoImpl implements AdminDao{
	private SqlSession sqlSession;
	public void setSqlSession(SqlSession sqlSession) {
		this.sqlSession = sqlSession;
	}
	//////////////////////////
	@Override
	public void autoLevelUpdate(AdminDto dto) {
		sqlSession.update("admin.autoLevel", dto);
	}
	@Override
	public void autoClassClose() {
		sqlSession.update("admin.autoClassClose");
	}
	@Override
	public void classClose(int idx) {
		sqlSession.update("admin.classClose",idx);
	}
	@Override
	public void resistClose(int idx) {
		sqlSession.update("admin.resistReturn",idx);		
	}
	@Override
	public void autoClassDone() {
		sqlSession.update("admin.autoClassDone");		
	}

	
}
